<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>Document</title>
</head>

<body>
    <svg viewbox="0,0,100,200" width="200" height="400" style="background-color:black;">
        <polygon points="0,0 50,50 0,50" style="fill:red;stroke:black;stroke-width:1" >
            <text>哈哈哈</text>
        </polygon>
    </svg>
</body>

</html>